import request from "@/utils/request";
// 作品统计
export function getWorksList(params) {
  return request({
    url: "/api/works/index",
    method: "get",
    params: params
  });
}
// 三级评审总结
export function getReviewThird(params) {
  return request({
    url: "/api/works/third_index",
    method: "get",
    params: params
  });
}
// 三级评审评审明细
export function getReviewThirdList(params) {
  return request({
    url: "/api/works/third_list",
    method: "get",
    params: params
  });
}
// 二级评审总结
export function getReviewSecondary(params) {
  return request({
    url: "/api/works/secondary_index",
    method: "get",
    params: params
  });
}
// 二级评审评审明细
export function getReviewSecondaryList(params) {
  return request({
    url: "/api/works/secondary_list",
    method: "get",
    params: params
  });
}
//一级评审总结
export function getReviewFirst(params) {
  return request({
    url: "/api/works/first_index",
    method: "get",
    params: params
  });
}
//一级评审评审明细
export function getReviewFirstList(params) {
  return request({
    url: "/api/works/first_list",
    method: "get",
    params: params
  });
}
//评审一明细导出
export function getWorksExport_01(params) {
  return request({
    url: "/api/works/first_export",
    method: "get",
    params: params
  });
}
//评审二明细导出
export function getWorksExport_02(params) {
  return request({
    url: "/api/works/secondary_export",
    method: "get",
    params: params
  });
}
//评审三明细导出
export function getWorksExport_03(params) {
  return request({
    url: "/api/works/third_export",
    method: "get",
    params: params
  });
}
//作品总明细导出
export function getWorksExportAll(params) {
  return request({
    url: "/api/works/export",
    method: "get",
    params: params,
    responseType: 'blob' 
  });
}
// 评委统计

export function getTeachers(params) {
  return request({
    url: "/api/teachers/list",
    method: "get",
    params: params
  });
}
// 作品一审详细明细
export function getWork_first_export(params) {
  return request({
    url: "/api/works/work_first_export",
    method: "get",
    params: params
  });
}
// 作品二审详细明细
export function getWork_secondary_export(params) {
  return request({
    url: "/api/works/work_secondary_export",
    method: "get",
    params: params
  });
}
// 作品三审详细明细
export function getWork_third_export(params) {
  return request({
    url: "/api/works/work_third_export",
    method: "get",
    params: params
  });
}


// 下载导出
export function getDownload(params) {
  return request({
    url: "/api/works/download",
    method: "get",
    params: params
  });
}
